/**
 * 
 */
package com.hfjyz.registration.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.validation.BindException;
import org.springframework.validation.Errors;

import com.hfjyz.registration.command.DepartEditCommand;
import com.hfjyz.registration.command.DepartListCommand;

/**
 *
 */
public interface DepartService extends BaseService {

	@SuppressWarnings("rawtypes")
	Map initEdit(DepartEditCommand cmd, Errors errors) throws Exception;

	void editOk(HttpServletRequest request, DepartEditCommand cmd,
			BindException errors) throws Exception;

	@SuppressWarnings("rawtypes")
	Map initSearch(DepartListCommand cmd, Errors errors) throws Exception;

	void search(HttpServletRequest request, HttpServletResponse response,
			DepartListCommand cmd, BindException errors) throws Exception;

	void delete(HttpServletRequest request, DepartListCommand cmd,
			BindException errors) throws Exception;
}
